package com.company.cloud.club.modules.db.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("club_activity")
public class ClubActivity extends BaseEntity {

    private String title;

    private String label;

    private String intro;

    @TableField("prize_test")
    private String prizeTest;

    @TableField("virtual_human")
    private Integer virtualHuman;

    @TableField("start_time")
    private Long startTime;

    @TableField("end_time")
    private Long endTime;

    private String banner;

    private String states;

    private String location;

    @TableField("join_num")
    private Integer joinNum;

    /**
     * 经度
     */
    private String longitude;

    /**
     * 纬度
     */
    private String latitude;

    @TableField("union_person")
    private String unionPerson;

    private Integer hot;

    @TableField("user_id")
    private Integer userId;

    private Integer sort;

    private Integer home;

    public ClubActivity() {

    }

    public ClubActivity(int deleted) {
        super(deleted);
    }
}